<script setup>
import ChatContent from './components/ChatContent.vue'
import ChatListBar from './components/ChatListBar.vue'
</script>

<template>
  <div>
    <el-container>
      <el-header><h1>ChatMeOnly</h1></el-header>
      <el-main>
        <el-row class="chat-box">
          <el-col :span="8">
            <ChatListBar/>
          </el-col>
          <el-col :span="16">
            <ChatContent/>
          </el-col>
        </el-row>
      </el-main>
      <el-footer><h2>夜璨如炽</h2></el-footer>
    </el-container>
  </div>
</template>

<style scoped>
.el-container {
  height: 88vh;
  width: 88vh;
}
.el-row {
  margin-bottom: 20px;
  height: 100%;
}
.el-row:last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
  height: 100%;
}
.chat-box {
  background-color: var(--gray);
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
  background-color: black;
}
</style>
